from selenium import webdriver
from time import sleep

driver = webdriver.Firefox()
driver.get('https://www.baidu.com/')
pos = driver.get_window_position()
print(pos)
sleep(2)
driver.set_window_position(500,300)
sleep(2)
print(driver.get_window_position())
driver.quit()
